package com.shiyuan.bisheng.controller;

import lombok.Data;

import java.util.List;

@Data
public class FileCallBackBO {

    private String docId;

    private String action;

    private CallBackFileData data;

    @Data
    public static class CallBackFileData{

        private String docId;
        //docURL是修改完最新的文件的下载地址;
        private String docURL;
        //docURL的base64编码，用于用户对docURL进行校验
        private String docUrlEncode;
        //modifyBy：这个文件在这次编辑过程中被哪些人修改过。: docURL的base64编码，用于用户对docURL
        private List<ModifyUserInfo> modifyBy;
        //unchanged 是标示这个文件有没有被修改
        private Boolean unchanged;
        //pngUrl这个文件最新的缩略图
        private String pngUrl;
        //txUrl 这个文件最新提取的文本;
        private String txtUrl;
        private String txtUrlEncode;
        private String pngUrlEncode;
    }


    public static class ModifyUserInfo{

        private String uid;

        private String oid;
        private String avatar;

        private String nickName;
    }
}
